<?php
declare(strict_types=1);
namespace SixShop\Lakala\Enum;

enum ReceiverActionEnum:string
{
    case ADD = 'add';
    case UPDATE = 'update';

    public function toString()
    {
        return match ($this) {
            self::ADD => '新增',
            self::UPDATE => '变更',
        };
    }
}
